const {ccclass, property} = cc._decorator;

@ccclass
export default class level_relationalGraphRoleBase extends cc.Component {

    @property({type:cc.Node,tooltip:"正确之后需要显示的文本"})
    correctText:cc.Node[] = [];

    @property({tooltip:"角色id"})
    roleId:string = "";

    @property({tooltip:"角色名字"})
    roleName:string = "";

    getRoleId(){
        return this.roleId;
    }

    getRoleName(){
        return this.roleName;
    }
}
